package com.zhuqi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhuqi
 * @version 1.0
 * @date 2021/3/25 19:34
 * 路由使用的controller
 */
@Controller
public class RoutingController {

    @RequestMapping("toLogin")
    public String toLogin(){
        return "login";
    }

    @RequestMapping("index")
    public String index(){
        return "index";
    }
}
